docs: host migration behaviour with disable-migration flag#184
docs: host migration behaviour with disable-migration flag#184H-M-Quang-Ngo wants to merge 2 commits intocanonical:mainfrom
Conversation
c68c0d7 to
069cecf
Compare
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
|
||
| By default, enabling maintenance mode will live migrate active instances and cold | ||
| migrate inactive instances. The ``--disable-migration`` flag allows operators to |
There was a problem hiding this comment.
The option should also be provided in Usage section
There was a problem hiding this comment.
Hi @hemanthnakkina , thanks for the review!
I'm a bit confused here, because it is already in Usage section. The hierarchy is Usage -> Enabling Maintenance Mode -> Controlling migration behavior
I intentionally placed it after the basic enable flow so the simple happy path is provided first, with the optional flag documented as a follow-up. Do you think this structure works, or would you prefer something different?
I attach this image for clearer visualization:
There was a problem hiding this comment.
I mean [ --disable-migration ] should be specified as optional parameter in commands during --dry-run since the output varies based on the this flag
Update the documentation for using the
disable-migrationflag in host maintenance operation, based on canonical/snap-openstack#724